<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>上传头像</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
 
 	<script src="plug-in/jquery-plugs/form/jquery.form.js"></script>  
   <script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
   <script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
   <script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
   <link rel="stylesheet" href="plug-in/Validform/css/style.css" type="text/css">
   <link rel="stylesheet" href="plug-in/Validform/css/tablefrom.css" type="text/css">
   
   <!-- 上传文件  -->    
    <script type="text/javascript" src="plug-in/webUploader/dist/webuploader.js"></script>
    <script type="text/javascript" src="plug-in/webUploader/third/uploadHeadPhoto.js"></script>
    
    <style>
    	
    </style>
 </head>
 
 <body>

  <t:formvalid formid="formobj" dialog="true" usePlugin="password" 
  			layout="table" action="userCenterController.do?upLoadHeadPhoto" tiptype="3">
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							头像:
						</label>
					</td> 
					<td class="value" > 
						<div id="wrapper">
					     <div id="container">
					          <div id="uploader" >
					                <div class="queueList">
					                    <div id="dndArea" class="placeholder">
					                        <div id="filePicker"></div>
					                        <p>建议头像尺寸比例为11:15，最大不超过5M</p>
					                        <p>支持的格式：gif,jpg,jpeg,bmp,png</p>
					                    </div>
					                </div>
					                <div class="statusBar" style="">
					                    <div class="progress">
					                        <span class="text">0%</span>
					                        <span class="percentage"></span>
					                    </div><div class="info"></div>
					                    <div class="btns">
					                        <div id="filePicker2" ></div><div  class="uploadBtn">开始上传</div>
					                    </div>
					                </div>
					            </div>
					        </div>
   						</div>
		           </td> 
			  </tr>
			</table>
		</t:formvalid>
 </body>
 <script>
 $(document).ready(function () {
		$('#filePicker2').hide();
});
 </script>  